package com.zds.passwordbox.data.dao.domain;

public class UserAccount {
    /**
     * 主键id
     */
    private Long id;

    /**
     * 账号
     */
    private String username;

    /**
     * 账户类型：如github，微博等
     */
    private String typeText;

    /**
     * 账户密码或者密钥
     */
    private String secret;

    private Integer type = 0;

    private Long updateTime;

    public UserAccount() {
    }

    public UserAccount(Long id, String typeText, String username) {
        this.id = id;
        this.typeText = typeText;
        this.username = username;
    }

    public UserAccount(String typeText, String username, String secret, Integer type) {
        this.username = username;
        this.typeText = typeText;
        this.secret = secret;
        this.type = type;
    }

    public UserAccount(Long id, String typeText, String username, String secret, Integer type) {
        this.id = id;
        this.username = username;
        this.typeText = typeText;
        this.secret = secret;
        this.type = type;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTypeText() {
        return typeText;
    }

    public void setTypeText(String typeText) {
        this.typeText = typeText;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }
}
